package cn.wsalix.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component("commonException")
@Data
@EqualsAndHashCode(callSuper = false)
public class CommonException extends NullException{
	
	@Value("${address.contact.error}")
	private String addressContactError;
	
	@Value("${address.phone.error}")
	private String addressPhoneError;
	
	@Value("${address.district.error}")
	private String addressDistrictError;
	
	@Value("${address.address.error}")
	private String addressAddressError;

	@Value("${prodcut.id.error}")
	private String prodcutIdError;
	
	@Value("${pay.type.blank}")
	private String payTypeBlank;
}
